<?php

namespace App\Admin\Extensions\Form\Config;

use App\Http\Traits\GlobalConstant;

class Upload extends ConfigBase
{
    /**
     * The form title.
     *
     * @var string
     */
    public $title = '上传设置';
    public $incType = 'upload';

    /**
     * Build a form here.
     */
    public function form()
    {

        $this->multipleSelect('image_type', '图片格式')->options(GlobalConstant::IMAGE_TYPE);
        $this->multipleSelect('video_type', '视频格式')->options(GlobalConstant::VIDEO_TYPE);
        $this->disableReset();
    }
}
